package com.js.data.system.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;


/**
 * AreaAddForm-地区新增表单
 *
 * @author wujj
 * @version 1.0.0
 * @since 2020/6/4 19:31
 */
@Data
public class AreaDTO implements Serializable {


    private Long parentId;

    @NotBlank(message = "地区全称不能为空")
    private String fullName;

    @NotBlank(message = "地区名称不能为空")
    private String name;

    @NotBlank(message = "地区编码不能为空")
    private String code;

    private String no;

    private String type;

    private String remarks;

    private Integer sortBy;

}
